
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
	
	.select_width { width:90px }

</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar" align="left"><span class="color_red">*</span>基本信息</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="stuInfo" cellspacing="1">
	
	<tr>
		<td  width="15%" nowrap align="right"><span class="color_red">*</span>姓名：</td>
		<td  colspan='2'>
		    <input id="zh_title" name="proposal/zh_title" size="35" maxlength="50"  class="required input_css" 
		           label ="姓名"  onchange="synTextData(this.id,'recommend_zh_name');synTextData(this.id,'yifang_name')"
		           value="<x:out select="$xmlData/data/proposal/zh_title" />"/>
		</td>
		<td align="right" width="15%" ><span class="color_red">*</span>性别：</td>
		<td  colspan='1' >
		    <label><input type="radio" name="gender"  class="do" value="M" label="男" onchange="synRadionData(this,'recommend_gender_value')">男</label>
			<label><input type="radio" name="gender"  class="do" value="F" label="女" onchange="synRadionData(this,'recommend_gender_value')">女</label>
		    <input type="hidden" id='gender_value' name="student/gender_value" class="required"  label="性别"  
		     value="<x:out select="$xmlData/data/student/gender_value" />">	
		</td>
		<td rowspan="7" width="130px" align="center">
		   <c:set var="file_code9"><x:out select="$xmlData/data/content/file_code9" /></c:set>
		   <div id="uploadsuccess9">
		      <c:choose>
		           <c:when test="${file_code9==''}">
		               <img id="stuphotoImg" src="/egrantres_nanshan/images/app/photo_01.jpg"  style="width:130px;height:159px" />
		           </c:when>
		           <c:otherwise>
		               <img id="stuphotoImg" src="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code9" />"  
		               style="width:130px;height:159px" />
		           </c:otherwise>
		      </c:choose>
		      <a href="#" style="cursor: pointer;" onclick="cilckFile('stu')"><span style="color: blue;">[上传照片]</span></a><br>
		      <span class="color_red">照片规格：358像素X441像素（小于2M）</span>
		   </div>
		   
		   <div id="file9" style="text-align:center">
		       <input type="hidden" name="content/file_code9" id="content_file_code9"  value="<x:out select="$xmlData/data/content/file_code9" />" />
		   </div>   
	</tr>
	<tr>
	    <td nowrap align="right" ><span class="color_red">*</span>籍贯：</td>
		<td colspan='2'>
		    <input name="student/hometown" size="35" maxlength="50"  class="required input_css" 
		           label ="籍贯" 
		           value="<x:out select="$xmlData/data/student/hometown" />"/>
		</td>
		<td nowrap align="right" ><span class="color_red">*</span>出生日期：</td>
		<c:set var="birthday"><x:out select='$xmlData/data/student/birthday' /></c:set>
		<td colspan='1' nowrap>
		    <cpt:date id="birth" name="student/birthday" className="required date"
					label="出生日期" value="${birthday}"></cpt:date>
		</td>
	</tr>
	<tr>
	    <td nowrap align="right" ><span class="color_red">*</span>民族：</td>
	    <c:set var="ethnicityvalue">
			 <x:out select='$xmlData/data/student/ethnicity_value' />
		</c:set>
		<td colspan='2'>
		    <cpt:select key="nation" id="ethnicity"
						onChange="initControlValue(this.id);" className="select_width"  value="${ethnicityvalue}" />
			<input id="ethnicity_value" name="student/ethnicity_value" type="hidden"
				   value="${ethnicityvalue}" class="required" label="民族">
			<input id="ethnicity_name" name="student/ethnicity_name" type="hidden"
				   value="<x:out select='$xmlData/data/student/ethnicity_name' />">	 
		</td>
	    <td nowrap align="right" ><span class="color_red">*</span>身高：</td>
	    
		<td colspan='1'>
		    <input name="student/height" size="35" maxlength="50"  class="required input_css" 
		           label ="身高"  style="text-align:right;width:70%"
		           onfocus="InitInput.setNumber(this,3,1,1)"
		           value="<x:out select="$xmlData/data/student/height" />"/>厘米
		</td>
	</tr>
	<tr>
		<td nowrap align="right" ><span class="color_red">*</span>体重：</td>
		<td colspan='2'>
			<input name="student/weight" size="35" maxlength="50"  class="required input_css" 
		           label ="体重"  style="text-align:right"
		           onfocus="InitInput.setNumber(this,3,2,2)"
		           value="<x:out select="$xmlData/data/student/weight" />"/>千克
		</td>
		<td nowrap align="right" ><span class="color_red">*</span>户口所在地：</td>
		<td colspan='1'>
		    <input name="student/account_location" size="35" maxlength="100"  class="required input_css" 
		           label ="户口所在地" style="width:70%"
		           value="<x:out select="$xmlData/data/student/account_location" />"/>
		</td>
	</tr>
	<tr>
		<td nowrap align="right" ><span class="color_red">*</span>婚姻状况：</td>
		<c:set var="marriage">
			 <x:out select='$xmlData/data/student/marriage_value' />
		</c:set>
		<td colspan="4">
		    <cpt:select key="marriage" id="marriage"
						onChange="initControlValue(this.id);" className="select_width" value="${marriage}" />
			<input id="marriage_value" name="student/marriage_value" type="hidden"
				   value="${marriage}" class="required" label="婚姻状况">
			<input id="marriage_name" name="student/marriage_name" type="hidden"
				   value="<x:out select='$xmlData/data/student/marriage_name' />">	 
		</td>
	
	</tr>
	<tr>
		 <td nowrap align="right" ><span class="color_red" style="display: none">*</span>证件类型：</td>
	    <td colspan="2">
			<c:set var="card_type_value">
				<x:out select="$xmlData/data/student/card_type_value" />
			</c:set>	
			<input type="hidden"  name="student/card_type_value"  class="required" value="<x:out select="$xmlData/data/student/card_type_value" />" label="证件类型">
			<input type="hidden" id="card_type_name" name="student/card_type_name" value="<x:out select="$xmlData/data/student/card_type_name" />">	
			<cpt:select id="card_type"  key="id_type" className="select_width" onChange="changeCardType(this.id);synTextDataidcard('student_card_id','yifang_idno');synTextDataidcard('student_card_id','recommend_card_id');" value="${card_type_value}"></cpt:select>
			
		</td>
		<td nowrap align="right" ><span class="color_red">*</span>证件号码：</td>
		<td colspan="1">
		    <input id="student_card_id" name="student/card_id" size="35" maxlength="50"  class="required input_css " 
		           label ="身份证号码"  maxlength="50"  style="width:70%"  onchange="synTextDataidcard(this.id,'yifang_idno');synTextDataidcard(this.id,'recommend_card_id');"
		           value="<x:out select="$xmlData/data/student/card_id" />"/>
		</td>
	</tr>
	<tr>
		<td nowrap align="right" ><span class="color_red">*</span>专长爱好：</td>
		<td colspan='4'>
		    <input name="student/special" size="110" maxlength="150"  class="required input_css" 
		           label ="专长爱好" 
		           value="<x:out select="$xmlData/data/student/special" />"/>
		</td>
	</tr>	
	 <tr class='li_2'>
	    <td nowrap align="right" ><span class="color_red">*</span>意向行业1：</td>
		<td >   
		    <input name="student/intention1" size="25" maxlength="150"  class="required input_css" 
		           label ="意向行业1" 
		           value="<x:out select="$xmlData/data/student/intention1" />"/>
		</td>
		<td  nowrap align="right">意向行业2：</td>
		<td >   
		    <input name="student/intention2"  maxlength="150"  class="input_css" 
		           label ="意向行业2" 
		           value="<x:out select="$xmlData/data/student/intention2" />"/>
		</td>
		<td  nowrap align="right">意向行业3：</td>
		<td >   
		    <input name="student/intention3" size="35" maxlength="150"  class="input_css" 
		           label ="意向行业3"  style="width:90%"
		           value="<x:out select="$xmlData/data/student/intention3" />"/>
		</td>
	</tr>
</table>


<br>
 <div class="t_bar" align="left"><span class="color_red">*</span>教育/培训经历</div>
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tbltrainingexp" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>选择</th>
				<th width='6%'>序号</th>
				<th width='20%'>院校/培训机构</th>
				<th width='6%'>学历</th>
				<th width='6%'>学位</th>
				<th width='13%'>开始时间</th>
				<th width='13%'>结束时间</th>
				<th width='15%'>专业</th>
				<th width='20%'>研究方向</th>
				
			</tr>
			</thead>
			<tbody>
			<tr style="display: none" >
				<td nowrap=true align="center">
					<input type="radio" name="seltrainingexp">
				</td>
				<td align="center">
					<span name="trains|train[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<input type="text" name="trains|train[0]|cname" size='25' class="input_text required" maxlength="50" label="院校/培训机构" value=""  maxlength="200"/>
				</td>
				<td>
					<select id="educate_[0]" name="educate_[0]" onChange="myinitControlValue(this.id)"><option value=""></option></select>
			        <input type="hidden" id="educate_[0]_value" name="trains|train[0]|educate_value" class="required" label="学历" />
			        <input type="hidden" id="educate_[0]_name" name="trains|train[0]|educate_name"  /> 
				</td>
				<td>
					<select id="degree_[0]" name="degree_[0]" onChange="myinitControlValue(this.id)"><option value=""></option></select>
			        <input type="hidden" id="degree_[0]_value" name="trains|train[0]|degree_value" class="required" label="学位" />
			        <input type="hidden" id="degree_[0]_name" name="trains|train[0]|degree_name"  /> 
				</td>
				<td nowrap>
				    <input  id="start_date_[0]" name="trains|train[0]|start_date" value=""
				     class=" required input_text date dateCompare:end_date_[0]" style="width:60%" label="开始时间" />
				</td>
				<td nowrap>
					<input  id="end_date_[0]" name="trains|train[0]|end_date"  value=""
				     class=" required input_text date" style="width:60%" label="结束时间" />
				</td>
				<td align="center">
		            <input type="text" name="trains|train[0]|major" size='15' class="input_text required" maxlength="50" label="专业" value=""  maxlength="200"/>
	        	</td>
	        	<td align="center">
					<input type="text" name="trains|train[0]|research" size='15' class="input_text required" label="研究方向" value=""  maxlength="200"/>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/trains/train" var="train">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td nowrap=true  align="center" >
						<input type="radio" name="seltrainingexp">
					</td>
					<td align="center">
						<span name="trains/train[${flag}${index}]@seq_no">
						    ${index+1}
						</span>
					</td>
					<td align="center">
						<input type="text" name="trains/train[${flag}${index}]/cname" size='25' value="<x:out select="$train/cname" />" class="input_text required" maxlength="50" label="院校/培训机构"/>
					</td>
					<td>
						<select id="educate_[${flag}${index}]" onChange="myinitControlValue(this.id)"><option value=""></option></select>
			            <input type="hidden"  id="educate_[${flag}${index}]_value" name="trains/train[${flag}${index}]/educate_value" class="required" label="学历" value="<x:out select="$train/educate_value" />"/>
			            <input type="hidden"  id="educate_[${flag}${index}]_name" name="trains/train[${flag}${index}]/educate_name"  value="<x:out select="$train/educate_name" />"/>
					</td>
					<td>
						<select id="degree_[${flag}${index}]" onChange="myinitControlValue(this.id)"><option value=""></option></select>
			            <input type="hidden"  id="degree_[${flag}${index}]_value" name="trains/train[${flag}${index}]/degree_value" class="required" label="学位" value="<x:out select="$train/degree_value" />"/>
			            <input type="hidden"  id="degree_[${flag}${index}]_name" name="trains/train[${flag}${index}]/degree_name"  value="<x:out select="$train/degree_name" />"/>
					</td>
					<td nowrap="nowrap">
					    <c:set var="start_date" scope="page"><x:out select="$train/start_date"/></c:set>
						<input  id="start_date_[${flag}${index}]" value="${start_date}" label="开始时间" 
						name="trains/train[${flag}${index}]/start_date" 
						class="input_text required date dateCompare:end_date_[${flag}${index}]"  style="width:60%"   /> 
					</td>
					<td nowrap="nowrap">
					    <c:set var="end_date" scope="page"><x:out select="$train/end_date"/></c:set>
						<input  id="end_date_[${flag}${index}]" value="${end_date}" label="结束时间" 
						name="trains/train[${flag}${index}]/end_date" 
						class="input_text required date"  style="width:60%"  /> 
					</td>
					<td align="center">
          			    <input type="text" name="trains/train[${flag}${index}]/major" size='15' value="<x:out select="$train/major" />" class="input_text required" maxlength="50" label="专业"/>
          			</td>
          			<td align="center">
						<input type="text" name="trains/train[${flag}${index}]/research" size='15' value="<x:out select="$train/research" />" class="input_text required" maxlength="100" label="研究方向"/>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			<script type="text/javascript">
				showAllDateTag("tbltrainingexp");
			</script>
			</tbody>
		</table>
		<div class="clear_h15" ></div>
		<div align="left" >
			<input class="button_02"  type="button" value="添加" onclick="if(checkTabLimit('tbltrainingexp',3,'教育/培训经历的情况最多只能填写3条')){addNewRow('tbltrainingexp');showDateTag('tbltrainingexp');initOrgSelectType('tbltrainingexp','educate,degree')}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tbltrainingexp','seltrainingexp')">
			<input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tbltrainingexp','seltrainingexp')">
			<input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tbltrainingexp','教育/培训经历记录')">
		</div>
	
     <!-- 
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tblinternship" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>选择</th>
				<th width='6%'>序号</th>
				<th width='88%'>实习经历（限500字）</th>
				
			</tr>
			</thead>
			<tbody>
			<tr style="display: none" >
				<td nowrap=true align="center">
					<input type="radio" name="selinternship">
				</td>
				<td align="center">
					<span name="internships|internship[0]@sequence_no">[index]</span>
				</td>
				<td align="center">
				    <textarea rows="15" cols="150" class="input_textarea required maxlength:500"  label="实习经历" name="internships|internship[0]|exp"></textarea>
				    <input type="hidden" name="internships|internship[0]|exp_hidden" value="">
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/internships/internship" var="internship">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td nowrap=true  align="center" >
						<input type="radio" name="selinternship">	
					</td>
					<td align="center">
						<span name="internships/internship[${flag}${index}]@sequence_no">
						    ${index+1}
						</span>
					</td>
					<td align="center">
					    <textarea rows="15" cols="150" class="input_textarea  required maxlength:500"  label="实习经历" name="internships/internship[${flag}${index}]/exp"><x:out select="$internship/exp" /></textarea>
					    <input type="hidden" name="internships/internship[${flag}${index}]/exp_hidden" value="">
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>		
			</tbody>
		</table>
		<div class="clear_h15" ></div>
		<div align="left" >
			<input class="button_02"  type="button" value="添加" onclick="if(checkTabLimit('tblinternship',3,'实习经历最多只能填写3条')){addNewRow('tblinternship')}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblinternship','selinternship')">
			<input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblinternship','selinternship')">
			<input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblinternship','实习经历记录')">
		</div>
		 -->
 <br>
 
 <div class="t_bar" align="left"><span class="color_red">*</span>家庭情况</div>
     <table class="table01" width="100%"  border="0" cellpadding="0" id="tblfamilysituation" cellspacing="1">
			<thead>
			<tr>
				<th width='6%'>选择</th>
				<th width='6%'>序号</th>
				<th width='20%'>姓名</th>
				<th width='20%'>关系</th>
				<th width='30%'>任职单位或就读学校</th>
				<th width='20%'>联系方式</th>
			</tr>
			</thead>
			<tbody>
			<tr style="display: none" >
				<td nowrap=true align="center">
					<input type="radio" name="selfamilysituation">
				</td>
				<td align="center">
					<span name="familys|family[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<input type="text" name="familys|family[0]|cname" size='25' class="input_text required" maxlength="50" label="姓名" value=""  />
				</td>
				<td align="center">
					<input type="text" name="familys|family[0]|relationship" size='25' class="input_text required" maxlength="50" label="关系" value=""  />
				</td>
				<td align="center">
					<input type="text" name="familys|family[0]|unit" size='38' class="input_text required" maxlength="100" label="任职单位或就读学校" value=""  />
				</td>
				<td nowrap>
				    <input type="text" name="familys|family[0]|contract_type" size='25' class="input_text required" maxlength="100" label="联系方式" value=""  />
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/familys/family" var="family">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td nowrap=true  align="center" >
						<input type="radio" name="selfamilysituation">
					</td>
					<td align="center">
						<span name="familys/family[${flag}${index}]@seq_no">
						    ${index+1}
						</span>
					</td>
					<td align="center">
						<input type="text" name="familys/family[${flag}${index}]/cname" size='25' value="<x:out select="$family/cname" />" class="input_text required" maxlength="50" label="姓名"/>
					</td>
					<td align="center">
						<input type="text" name="familys/family[${flag}${index}]/relationship" size='25' value="<x:out select="$family/relationship" />" class="input_text required" maxlength="50" label="关系"/>
					</td>
					<td align="center">
						<input type="text" name="familys/family[${flag}${index}]/unit" size='38' value="<x:out select="$family/unit" />" class="input_text required" maxlength="100" label="任职单位或就读学校"/>
					</td>
					<td nowrap="nowrap" align="center">
					    <input type="text" name="familys/family[${flag}${index}]/contract_type" size='25' value="<x:out select="$family/contract_type" />" class="input_text required" maxlength="100" label="联系方式"/>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>		
			</tbody>
		</table>
		<div class="clear_h15" ></div>
		<div align="left" >
			<input class="button_02"  type="button" value="添加" onclick="if(checkTabLimit('tblfamilysituation',3,'家庭情况最多只能填写3条')){addNewRow('tblfamilysituation')}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblfamilysituation','selfamilysituation')">
			<input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblfamilysituation','selfamilysituation')">
			<input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblfamilysituation','家庭情况记录')">
		</div>
	
     <br>
 
     <div class="t_bar" align="left">实习经历（请注明时间、实习单位名称、实习岗位等等）（限100字以内）</div>
     <table class="t_css" width="100%" border="0" cellpadding="0" id="tblinternship" cellspacing="1">
     <tr>
	    <td >
	    <textarea rows="15" cols="170" class="input_textarea required  maxlength:100"   name='proposal/practice'  label="实习经历"><x:out select="$xmlData/data/proposal/practice" /></textarea>
	    <input type="hidden" name="proposal/practice_hidden" value="">
	    </td>
	</tr>
	</table>
    <br>
    <table class="t_css" width="100%" border="0" cellpadding="0"
	id="stuInfo1" cellspacing="1">
	<tr>
		<td colspan="9" class="t_bar">联系方式</td>
	</tr>
	<tr>
	    <td width="15%" nowrap align="right">固定电话：</td>
		<td >
		    <input id="student_tel" name="student/tel" size="35" maxlength="20"  class=" input_css" 
		           label ="固定电话"  onchange="synTextData2(this.id,'yifang_tel','student_moblie')"
		           value="<x:out select="$xmlData/data/student/tel" />"/>
		</td>
	    <td  nowrap align="right"><span class="color_red">*</span>移动电话：</td>
		<td  >
            <input id="student_moblie" name="student/moblie" size="35" maxlength="11"  class="input_css required mobile"  onfocus="InitInput.setNumber(this,11,0,0)" 
		           label ="移动电话" onchange="synTextData(this.id,'recommend_tel_work');synTextData2('student_tel','yifang_tel',this.id)"
		           value="<x:out select="$xmlData/data/student/moblie" />"/>
        </td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td >
		    <input name="student/email" size="35" maxlength="50"  class="required input_css email" 
		           label ="电子邮箱" 
		           value="<x:out select="$xmlData/data/student/email" />"/>
		</td>
	    <td nowrap align="right">个人主页：</td>
		<td >
            <input name="student/http" size="35" maxlength="100"  class=" input_css" 
		           label ="个人主页" 
		           value="<x:out select="$xmlData/data/student/http" />"/>
        </td>
	</tr>
	<tr>
	    <td nowrap align="right"><span class="color_red">*</span>通讯地址：</td>
		<td colspan='3'>
		    <input id="student_address" name="student/address" size="132" maxlength="200"  class="required input_css" 
		           label ="通讯地址" onchange="synTextData(this.id,'recommend_address');synTextData(this.id,'yifang_address')"
		           value="<x:out select="$xmlData/data/student/address" />"/>
		</td>
	</tr>
	<tr>
	    <td align="right"><span class="color_red">*</span>中国银行开户账号<br>（仅限在深圳地区）:</td>
		<td>
		    <input id="student_bank_account" name="student/bank_account" size="35" maxlength="200"  class="required input_css" 
		           label ="中国银行开户账号" 
		           value="<x:out select="$xmlData/data/student/bank_account" />"/>
		</td>
		<td align="right"><span class="color_red">*</span>确认中国银行开户账号：</td>
		<td>
		    <input id="qr_student_bank_account" name="student/qr_bank_account" size="35" maxlength="200"  class="required input_css" 
		           label ="确认中国银行开户账号" 
		           value="<x:out select="$xmlData/data/student/qr_bank_account" />"/>
		</td>
	</tr>
</table>
<script type="text/javascript">
	$(function() {
		$("#stuInfo tr:even").addClass("li_1");
		$("#stuInfo tr:odd").addClass("li_2");	
		$("#stuInfo1 tr:even").addClass("li_1");
		$("#stuInfo1 tr:odd").addClass("li_2");	
		
		loadOrgSelectType('tbltrainingexp','educate,degree');
	});
	
	function synTextData(id1,id2){
		$('#'+id2).text($('#'+id1).val());
	}
	function synTextDataidcard(id1,id2){
		$('#'+id2).text($('#'+id1).val()+"("+($("#card_type_name").val())+")");
	}
	function synTextData2(id1,id2,id3){
		if($('#'+id1).val()==''){
			$('#'+id2).text("手机："+$('#'+id3).val());
		}else{
		$('#'+id2).text("固定电话："+$('#'+id1).val()+"，手机："+$('#'+id3).val());
		}
	}
	
	function synRadionData(obj,id2){
		if(obj.value=='M'){
			$('#'+id2).text('男');
		}else if(obj.value=='F'){
			$('#'+id2).text('女');
		}else{
			$('#'+id2).text('');
		}
	}
</script>
<script type="text/javascript">
function changeCardType(id){
	initControlValue(id);
	var cardTypeObj = $("#card_type");
	var cardCodeObj = $("#student_card_id");
	
	if(cardTypeObj.val()=="1"){
		cardCodeObj.addClass("idCard");
		cardCodeObj.attr("label","身份证");
	} else {
		cardCodeObj.removeClass("idCard");
		cardCodeObj.attr("label","证件号码");
	}
	
}
</script>
